package com.douyang.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.douyang.model.OrderStatement;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xiaoma
 * @since 2025-04-22
 */
public interface OrderStatementService extends IService<OrderStatement> {

    Long createOrderStatement(Long orderId);

    String tryToPay(Long orderStatementId);

    String payNotify(Map<String, String> param);

    void updateDb(Map<String, String> param);

    void updateOrderStatementState(OrderStatement orderStatement, int refunding, String s, Double price);
}
